package com.wanmait.bootdemo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"com.wanmait.bootdemo","com.wanmait.demo"})
@MapperScan("com.wanmait.bootdemo.mapper")
public class BootdemoApplication {

    public static void main(String[] args) {

        SpringApplication.run(BootdemoApplication.class, args);
    }

}
